#ifndef __CGAME_H__
#define __CGAME_H__
#include "..\..\YGD\YGDEngine\YGDEngine.h"
#include "CState.h"
#include "..\Content\CAgent.h"
namespace Logic
{
  class CGame
  {
    public:
      CGame(HINSTANCE hInst, HINSTANCE hPrevInst, wchar_t * lpCmdLine, int nCmdShow,
        const char* windowName, const char* windowTitle);
      void run();
      void clean();

    private:
      IEngine* pEngine;
      ITimer* pTimer;
      IInput* pInput;

      CState* pState;
      ICamera* pCamera;

      void initGame();
      void doUpdate(float dT);
      void handleInput(float dT);

      Content::CHitBox* pHitBox;
      Content::CCity* pCity;
      Content::CArea* pArea;
      Content::CAgent* pPlayer;

  };
}


#endif